package com.woniuxy.lrz.carlproject.controller.form.shopform;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

@Data
@ApiModel
public class ShopUpdateForm {

    @NotBlank
    @Length(max = 256)
    @ApiModelProperty("门店名称")
    private String shopName;

    @NotBlank
    @Length(max = 32)
    @ApiModelProperty("门店联系号码")
    private String shopPhone;

    @NotBlank
    @Length(max = 256)
    @ApiModelProperty("门店地址")
    private String shopAddress;

//    @NotNull
//    @ApiModelProperty("门店开门时间")
//    private Timestamp shopOpenTime;
//
//    @NotNull
//    @ApiModelProperty("门店关门时间")
//    private Timestamp shopCloseTime;

    @NotBlank
    @Length(max = 64)
    @ApiModelProperty("OPEN 正常  PENDDING  整改  CLOSE 打烊")
    private String status;

    @NotBlank
    @Length(max = 64)
    @ApiModelProperty("门店法人")
    private String shopMasterName;

    @NotBlank
    @Length(max = 64)
    @ApiModelProperty("法人身份证")
    private String shopMasterIdCard;

    @NotBlank
    @Length(max = 64)
    @ApiModelProperty("法人手机号码")
    private String shopMasterPhone;



}
